package model;

public class Square implements Shape {

    private int a;
	private int x;
	private int y;
	
    public Square(int x, int y,int a) {
		super();
		this.a = a;
		this.x = x;
		this.y = y;
	}

	public Square(int a) {
        this.a = a;
    }

    @Override
    public ShapeType getShapeType() {
        return ShapeType.SQUARE;
    }

    public int getA() {
        return a;
    }

    public void setA(int a) {
        this.a = a;
    }

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}
}
